import http from '@/utils/http'

export const stuPub = (stuData)=>{  //新增学员接口
    return http.post('/stu',stuData)
}

export const stuList = ()=>{  //学员列表
    return http.get('/stu')
}

export const stuEdit = (stuData)=>{  //修改学员信息
    return http.put('/stu',stuData)
}